package com.iknow.data;

public enum QingboType
{
  static
  {
    audio = new QingboType("audio", 1);
    vedio = new QingboType("vedio", 2);
    image = new QingboType("image", 3);
    QingboType[] arrayOfQingboType = new QingboType[4];
    arrayOfQingboType[0] = text;
    arrayOfQingboType[1] = audio;
    arrayOfQingboType[2] = vedio;
    arrayOfQingboType[3] = image;
    ENUM$VALUES = arrayOfQingboType;
  }

  public static QingboType formString(String paramString)
  {
    QingboType localQingboType;
    if (paramString.indexOf("audio") != -1)
      localQingboType = audio;
    while (true)
    {
      while (true)
      {
        while (true)
        {
          return localQingboType;
          if ((!(paramString.equalsIgnoreCase("text/html"))) && (paramString.indexOf("text") == -1))
            break;
          localQingboType = text;
        }
        if ((!(paramString.equalsIgnoreCase("image/jpeg"))) && (paramString.indexOf("image") == -1))
          break;
        localQingboType = image;
      }
      localQingboType = text;
    }
  }
}